
import { UserInfo } from "./user"

export type MapKey = {
  dataIndex: string
  key: string
  title: string
  width?: number
  [keyname: string]: any
}[]

export interface ResponseData {
  status: number
  msg?: string
}

export interface LoginApi extends ResponseData {
  data: UserInfo
  token: string
}